package com.msnjob;

public class MSNJobUitl {

	public static void main(String[] args) {
		System.out.println("aa");
		int code = 1;
		String companytype = "";
		switch (code) {
		case 1:
			companytype = "";
			break;

		default:
			break;
		}

	}

	/**
	 * 获取公司类型
	 * 
	 * @param code
	 * @return
	 */
	public static String getCompanyTypeBycode(int code) {
		String value = "";
		switch (code) {
		case 1:
			value = "国有企业";
			break;
		case 2:
			value = "外资企业";
			break;
		case 3:
			value = "合资企业";
			break;
		case 4:
			value = "私营企业";
			break;
		case 5:
			value = "民营企业";
			break;
		case 6:
			value = "股份制企业";
			break;
		case 7:
			value = "集体企业";
			break;
		case 9:
			value = "乡镇企业";
			break;
		case 10:
			value = "行政机关";
			break;
		case 11:
			value = "社会团体";
			break;
		case 12:
			value = "事业单位";
			break;
		case 13:
			value = "跨国企业(集团)";
			break;
		default:
			value = "其他";
		}
		return value;

	}

	/**
	 * 获取行业类型
	 * @param code
	 * @return
	 */
	public static String getTradeTypeBycode(int code) {
		String value = "";
		switch (code) {
		case 1:
			value = "互联网、电子商务";
			break;
		case 2:
			value = "计算机业（软件、数据库、系统集成）";
			break;
		case 3:
			value = "计算机业（硬件、网络设备）";
			break;
		case 4:
			value = "电子、微电子技术";
			break;
		case 5:
			value = "通讯、电信业";
			break;
		case 6:
			value = "家电业";
			break;
		case 7:
			value = "批发零售(百货、超市、购物中心、专卖店…)";
			break;
		case 8:
			value = "贸易、商务、进出口";
			break;
		case 9:
			value = "电气";
			break;
		case 10:
			value = "电力、能源、矿产业";
			break;
		case 11:
			value = "石油、化工业";
			break;
		case 12:
			value = "生物工程、制药、环保";
			break;
		case 13:
			value = "机械制造、机电设备、重工业";
			break;
		case 14:
			value = "汽车、摩托车";
			break;
		case 15:
			value = "仪器仪表、电工设备";
			break;
		case 16:
			value = "广告、公关、设计";
			break;
		case 17:
			value = "媒体、影视制作、新闻出版";
			break;
		case 18:
			value = "艺术、文化传播";
			break;
		case 19:
			value = "快速消费品（食品、饮料、粮油、化妆品、烟酒…）";
			break;
		case 20:
			value = "纺织品业（服饰、鞋类、家纺用品、皮具…）";
			break;
		case 21:
			value = "咨询业（顾问、会计师、审计师、法律）";
			break;
		case 22:
			value = "金融业（投资、保险、证券、银行、基金）";
			break;
		case 23:
			value = "建筑、房地产、物业管理、装潢";
			break;
		case 24:
			value = "餐饮、娱乐、酒店";
			break;
		case 25:
			value = "运输、物流、快递";
			break;
		case 26:
			value = "旅游业";
			break;
		case 27:
			value = "办公设备、文化体育休闲用品、家居用品";
			break;
		case 28:
			value = "印刷、包装、造纸";
			break;
		case 29:
			value = "生产、制造、加工";
			break;
		case 30:
			value = "教育、培训、科研院所";
			break;
		case 31:
			value = "医疗、保健、卫生服务";
			break;
		case 32:
			value = "人才交流、中介";
			break;
		case 33:
			value = "协会、社团、政府公用事业、社区服务";
			break;
		case 34:
			value = "农、林、牧、副、渔业";
			break;
		default:
			value = "其他";
			break;
		}

		return value;
	}

}
